package com.wt.order;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 吴涛
 * @date 2022/5/9 9:25
 * @qq 337144203
 */
@ServletComponentScan
@SpringBootApplication
@Slf4j
@EnableTransactionManagement
@EnableCaching//开启缓存注解
public class OrderApplication {
    public static void main(String[] args) {
         SpringApplication.run(OrderApplication.class, args);
        log.info("项目启动成功");//代表是info级别的日志
    }
}
